#define _CRT_SECURE_NO_WARNINGS 1
#include<string>
#include<iostream>
using namespace std;
int main()
{
	string s1("abcdef");
	string::iterator it1=s1.begin();
	while (it1!=s1.end())
	{
		cout << *it1 << " ";
		it1++;
	}
	cout << endl;
	for (auto v : s1)
	{
		cout << v << " ";
	}
	cout << endl;

}
